package com.mytrip.dao;

import java.util.List;

import com.mytrip.base.dao.BaseDao;
import com.mytrip.model.Module;

public interface ModuleDao extends BaseDao<Module,Long> {

	public Module getModuleByModuleName(String moduleName);
	
	public List<Module> findModuleByParentId(Long parentId);
	
	public List<Module> findTopModuleByBackOperatorId(Long backOperatorId);

	public List<Module> findModuleByParentIdnOperatorId(Long parentId,
			Long backOperatorId);
	
	public Module getModuleByActionName(String actionName);

	public List<Module> findTopModule();

	public List<Module> getModuleListByBackOperatorId(Long id);

	public List<Module> findAllModuleByParentId(Long long1);

	public List<Module> findModuleByBOIdnParentIdSysId(Long parentId, Long operatorId,Long systemId);
}
